Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.0.0 #7

Merged
merged 3 commits into from
Aug 28, 2020
Merged

Release/v1.0.0 #7

merged 3 commits into from
Aug 28, 2020

Conversation

vikramsinghvirdi
Copy link
Contributor

Release notes:

  • Update list of minimal permissions needed for S3 access logging
    Added s3:ListBucket to minimum_policy.json
  • Added more meaningful error when the user doesn't have the correct permissions for S3 access logging job
  • Refactored constraints hashes
  • Added a check to ensure S3 logging bucket does not log to itself

pauldallen and others added 3 commits August 20, 2020 13:00
#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info
* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>
Copy link
Contributor

@pauldallen pauldallen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vikramsinghvirdi vikramsinghvirdi merged commit c4b711f into master Aug 28, 2020
@vikramsinghvirdi vikramsinghvirdi deleted the release/V1.0.0 branch August 28, 2020 20:56
vikramsinghvirdi added a commit that referenced this pull request Oct 26, 2020
* Release/v1.0.0 (#7)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Release/v1.1.0 (#17)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* change the way cloudAccountId is parsed from Job Paramaters (#9)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-16779: Add remediation job for azure security group port 22 (#10)

* PLA-16779: Add remediation job for azure security group port 22

* add test dependencies

* update README.md

* add deployment info to the README

* add rule information

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job for closing port 22 for VM (#11)

* PLA-18743: Add remediation job for closing port 22 for VM
* add tests for azure_vm_close_port_22 to tox
* add deployment details

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation jobs for storage and RDP violations (#12)

* add remediation job for closing RDP access

* Add remediation job for remove public access for blob

* Add remediation job to allow only https traffic to storage account

* update READMEs to fix broken links

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* fix the parameters passed for remediation (#13)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* add check for existing permissions before adding new (#15)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Fix ports range for network security groups (#19) (#20)

* handle the case when the security rule port is a range

* Add minimum permissions for each remediation jobs

* add link to built in roles

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>
vikramsinghvirdi added a commit that referenced this pull request Oct 26, 2020
* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* change the way cloudAccountId is parsed from Job Paramaters (#9)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-16779: Add remediation job for azure security group port 22 (#10)

* PLA-16779: Add remediation job for azure security group port 22

* add test dependencies

* update README.md

* add deployment info to the README

* add rule information

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job for closing port 22 for VM (#11)

* PLA-18743: Add remediation job for closing port 22 for VM
* add tests for azure_vm_close_port_22 to tox
* add deployment details

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation jobs for storage and RDP violations (#12)

* add remediation job for closing RDP access

* Add remediation job for remove public access for blob

* Add remediation job to allow only https traffic to storage account

* update READMEs to fix broken links

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* fix the parameters passed for remediation (#13)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* add check for existing permissions before adding new (#15)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Fix ports range for network security groups (#19)

* handle the case when the security rule port is a range

* Add minimum permissions for each remediation jobs

* add link to built in roles

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* update the remediation job payload (#21)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-20459: Add rule information for the remediation job (#22)

* update the remediation job payload (#21)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-20459: Add rule information for the remediation job

* add another rule remediated by the job

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Master -> Dev Merge (#23)

* Release/v1.0.0 (#7)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Release/v1.1.0 (#17)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* change the way cloudAccountId is parsed from Job Paramaters (#9)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-16779: Add remediation job for azure security group port 22 (#10)

* PLA-16779: Add remediation job for azure security group port 22

* add test dependencies

* update README.md

* add deployment info to the README

* add rule information

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job for closing port 22 for VM (#11)

* PLA-18743: Add remediation job for closing port 22 for VM
* add tests for azure_vm_close_port_22 to tox
* add deployment details

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation jobs for storage and RDP violations (#12)

* add remediation job for closing RDP access

* Add remediation job for remove public access for blob

* Add remediation job to allow only https traffic to storage account

* update READMEs to fix broken links

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* fix the parameters passed for remediation (#13)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* add check for existing permissions before adding new (#15)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Fix ports range for network security groups (#19) (#20)

* handle the case when the security rule port is a range

* Add minimum permissions for each remediation jobs

* add link to built in roles

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Revert "Master -> Dev Merge (#23)" (#24)

This reverts commit a875459.

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>
vikramsinghvirdi added a commit that referenced this pull request Dec 21, 2020
* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* change the way cloudAccountId is parsed from Job Paramaters (#9)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-16779: Add remediation job for azure security group port 22 (#10)

* PLA-16779: Add remediation job for azure security group port 22

* add test dependencies

* update README.md

* add deployment info to the README

* add rule information

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job for closing port 22 for VM (#11)

* PLA-18743: Add remediation job for closing port 22 for VM
* add tests for azure_vm_close_port_22 to tox
* add deployment details

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation jobs for storage and RDP violations (#12)

* add remediation job for closing RDP access

* Add remediation job for remove public access for blob

* Add remediation job to allow only https traffic to storage account

* update READMEs to fix broken links

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* fix the parameters passed for remediation (#13)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* add check for existing permissions before adding new (#15)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Fix ports range for network security groups (#19)

* handle the case when the security rule port is a range

* Add minimum permissions for each remediation jobs

* add link to built in roles

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* update the remediation job payload (#21)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-20459: Add rule information for the remediation job (#22)

* update the remediation job payload (#21)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-20459: Add rule information for the remediation job

* add another rule remediated by the job

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Master -> Dev Merge (#23)

* Release/v1.0.0 (#7)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Release/v1.1.0 (#17)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to… (#3)

* PLA-17940 updating constraints and fixing s3_enable_access_logging to not remediate the logging target bucket

* PLA-17940 fixing copyright info

* Updated readme to have link for reporting issues (#4)

Co-authored-by: svikramjeet <[email protected]>

* S3 access logs permissions (#6)

* Update minimum permissions for the job
* Add more logs when permission is missing

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* change the way cloudAccountId is parsed from Job Paramaters (#9)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-16779: Add remediation job for azure security group port 22 (#10)

* PLA-16779: Add remediation job for azure security group port 22

* add test dependencies

* update README.md

* add deployment info to the README

* add rule information

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job for closing port 22 for VM (#11)

* PLA-18743: Add remediation job for closing port 22 for VM
* add tests for azure_vm_close_port_22 to tox
* add deployment details

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation jobs for storage and RDP violations (#12)

* add remediation job for closing RDP access

* Add remediation job for remove public access for blob

* Add remediation job to allow only https traffic to storage account

* update READMEs to fix broken links

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* fix the parameters passed for remediation (#13)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* add check for existing permissions before adding new (#15)

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Fix ports range for network security groups (#19) (#20)

* handle the case when the security rule port is a range

* Add minimum permissions for each remediation jobs

* add link to built in roles

Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Revert "Master -> Dev Merge (#23)" (#24)

This reverts commit a875459.

* Azure security center enable ddos protection (#27)

* Azure security center enable ddos protection remediation script

* Removed .DS_Store file

* Made changes in README.md

* Addressed the review comments

* Pre-commit changes added

* Made changes in README.md

* Added the unit test in tox.ini

* fix requirements-dev.txt for tox run

Co-authored-by: Mohammad Zuber Khan <[email protected]>
Co-authored-by: Shrutika Kulkarni <[email protected]>

* Azure Storage default network access deny remediation script (#30)

* Azure Storage default network access deny remediation script

* .DS_Store file removed

* Fixed some logging messages

* Added unit test in tox.ini

* Changed requirements.txt

* Fixed requirements-dev.txt

* Pla 19713: remove unused logcall (#31)

* remove unused logcall function

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* Add remediation job to enable ELB access logs (#29)

* Add remediation job to enable ELB access logs

Co-authored-by: Mohammad Zuber Khan <[email protected]>

* PLA-21409: Azure SQL Server Threat Detection enable (#36)

* PLA-21822 fixing whitespace (#37)

* Pla 21822 fixing requirements whitespace (#38)

* PLA-21822 fixing whitespace

Co-authored-by: Paul Allen <[email protected]>
Co-authored-by: svikramjeet <[email protected]>
Co-authored-by: Zuber <[email protected]>
Co-authored-by: Mohammad Zuber Khan <[email protected]>
Co-authored-by: kshrutik <[email protected]>
Co-authored-by: Shrutika Kulkarni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants